package com.wanxi.util;

import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.UUID;

@Component
public class OrderNumberUtil {
    public String getOrderNumberUtil(){
        long time = new Date().getTime();
        String uuid = UUID.randomUUID().toString();
        return time+uuid;
    }
}
